﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntitiesLayer
{
    public class Coupe : EntityObject
    {
        #region Properties

        public int Year
        {
            get;
            set;
        }

        public String Name
        {
            get;
            set;
        }

        #endregion

        #region Constructors

        public Coupe(int id, String name, int year)
            : base(id)
        {
            Name = name;
            Year = year;
        }

        public Coupe()
        {
        }

        #endregion

        public override string ToString()
        {
            return Name;
        }
    }
}
